.host {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  inline-size: 100%;
  padding-block: 8px;
  padding-inline: 12px;
  color: var(--vkui--color_text_primary);
  cursor: pointer;
  user-select: none;
}

.hierarchy {
  --vkui_internal--custom_select_option_hierarchy_level: 0;

  padding-inline-start: calc(
    var(--vkui_internal--custom_select_option_hierarchy_level) *
    var(--vkui--size_option_hierarchy--regular)
  );
}

.sizeYRegular {
  min-block-size: 44px;
}

@media (--sizeY-regular) {
  .sizeYNone {
    min-block-size: 44px;
  }
}

.disabled {
  cursor: default;
  opacity: var(--vkui--opacity_disable_accessibility);
}

.hover {
  background-color: var(--vkui--color_transparent--hover);
}

.before {
  flex-shrink: 0;
  margin-inline-end: 7px;
}

.main {
  flex-grow: 1;
  min-inline-size: 0;
  max-inline-size: 100%;
}

.children {
  min-inline-size: 0;
  word-break: break-word;
}

.after {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin-inline-start: 8px;
}

.description {
  color: var(--vkui--color_text_secondary);
}

.selectedIcon {
  color: var(--vkui--color_icon_accent);
}

.selectedIcon:not(:first-child) {
  margin-inline-start: 8px;
}
